<!DOCTYPE html><%@ page contentType="text/html; charset=UTF-8"%><%@ include file="../include/commons.jsp" %>
<html>
	<head>
		<meta charset="UTF-8">
		<title>频道列表</title>
		<link rel="stylesheet" href="${ctx }/css/admin.css">
		<script src="${ctx }/js/jquery-1.10.0.min.js"></script>
		<script src="${ctx }/js/admin.js" charset="utf-8"></script>
		<script src="${ctx }/js/table.js"></script>
		<script src="${ctx }/js/delete.js"></script>
	</head>
	<body>
		<div id="wrapper">
			<div id="menu"></div>
			<div id="sidebar"></div>
			<div id="content">
				<h1>频道列表</h1>
				<table border="1">
					<tr>
						<th>编号</th>
						<th>频道名称</th>
						<th>存放目录</th>
						<th>操作</th>
					</tr>
					<c:forEach var="channel" items="${sessionScope.pageBean.list }" varStatus="vs">
					<tr>
						<td>${vs.count }</td>
						<td><a href="channel_article_list?channel.id=${channel.id }">${channel.title }</a></td>
						<td>${channel.directory }</td>
						<td>
							<a href="channel_search?channel.id=${channel.id }">编辑</a>
							<a class="delete" href="channel_remove?channel.id=${channel.id }">删除</a>
						</td>
					</tr>
					</c:forEach>
				</table>
				<c:import url="../include/page.jsp">
					<c:param name="entity" value="channel" />
				</c:import>
			</div>
			<div id="clear"></div>
		</div>
	</body>
</html>